From e07665a21667d17959a8aed8f7f11466bc3b9320 Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Fri, 10 Oct 2008 10:01:10 +0100 Subject: [PATCH] cpufreq: remove unused variable cpu_count. Signed-off-by: Isaku Yamahata --- xen/drivers/cpufreq/cpufreq.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/xen/drivers/cpufreq/cpufreq.c b/xen/drivers/cpufreq/cpufreq.c index 63e77e9705..add3f2daf9 100644 --- a/xen/drivers/cpufreq/cpufreq.c +++ b/xen/drivers/cpufreq/cpufreq.c @@ -213,7 +213,7 @@ static void print_PSD( struct xen_psd_package *ptr) int set_px_pminfo(uint32_t acpi_id, struct xen_processor_performance *dom0_px_info) { - int cpu_count = 0, ret=0, cpuid; + int ret=0, cpuid; struct processor_pminfo *pmpt; struct processor_performance *pxpt; @@ -298,7 +298,6 @@ int set_px_pminfo(uint32_t acpi_id, struct xen_processor_performance *dom0_px_in XEN_PX_PSD | XEN_PX_PPC ) ) { pxpt->init = XEN_PX_INIT; - cpu_count++; ret = cpufreq_cpu_init(cpuid); goto out; -- 2.30.2